import Vue from 'vue'
import Router from 'vue-router'
import login from '@/components/login'
import home from '@/components/home'
import demo from '@/components/demo'
import a from '@/components/a'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'login',
      component: login,
    },
    {
      path:'/home',
      name:'home',
      component:home, 
    },
    {
      path:'/demo',
      name:'demo',
      component:demo
    },
    {
      path:'/a',
      name:'a',
      component:a
    }
  ]
})
